import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;


public class AuftragsDateiEinleser {

	public Kundenauftrag liesDateiEin(File file) {
		
		File f = new File ("C:\Users\Jacky\Desktop");
		
		try{
			FileReader fr = new FileReader(f);
			BufferedReader br = new BufferedReader (fr);
			
			while (br.ready ()){
				String zeile = br.readLine ();
				int position = zeile.indexOf(" ");
				String x = zeile.replaceAll(" ", "");
				System.out.println(x);
				
			}
		}
		catch (FileNotFoundException e){
			e.printStackTrace();
			
		}
		catch (IOException e){
			e.printStackTrace ();
		}
		
		return null;
	}
}